<?php ?>
<script type="text/javascript">
	  $(document).ready(function() { 
	  	  $('#caseData1').dataTable( {
					"aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]],
					"sPaginationType": "full_numbers",	
                    "aaSorting": [[ 0, "asc" ]],
                    "iDisplayLength": 10,
					"bJQueryUI": true,
					"sDom": '<"H"frlT><"clear">t<"clear"><"F"ip>',
					'bProcessing'    : true,
					'bServerSide'    : true,
					'sAjaxSource'    : '<?php echo site_url('/admin/defective/getall_docket')?>',
					'fnServerData': function(sSource, aoData, fnCallback)
					{
					  $.ajax
					  ({
						'dataType': 'json',
						'type'    : 'POST',
						'url'     : sSource,
						'data'    : aoData,
						'success' : fnCallback
					  });
					},	
						
					"oTableTools": {
						"sSwfPath": "<?php echo base_url()?>assets/media/swf/copy_csv_xls_pdf.swf",
						"aButtons": [
								"csv",
								"xls",
								{
									"sExtends": "pdf",
									"sPdfOrientation": "landscape",
									"sPdfMessage": ""
								},
								"print"
						]
					},
					"oLanguage": {
					  "sSearch": "Filter: "
					},
					"aoColumns": [ 
					  null,null,null,null,null,null,
					  { "bSortable": false }
					]
					
                } );
	  })
</script>
<div class="header">
            
            <h1 class="page-title">Redispatch Docket</h1>
        </div>
        
                <ul class="breadcrumb">
           
            <li class="active">View All</li>
        </ul>
<div class="row-fluid">
<div class="span12 pad_all">
<table id="caseData1" cellpadding=0 cellspacing=6 width="100%" class="table table-bordered dataTables_wrapper">
  
   <thead>
    <tr>
        <th>ID</th>
		<th>Receipt No.</th>
        <th>Docket No.</th>
		<th>Received Date</th>
        <th>Customer Name </th>
       <th>Customer Mobile</th>
              
        <th style="width:45px;">Action</th>        
    </tr>
    </thead>
    <tbody>
        

    </tbody>
</table>
</div>
</div>